package com.example.springiocdemo.entity;

import lombok.Data;

@Data
public class UserInfo {
    private String name;
    private  Integer id;
    private  Integer age;



    public UserInfo() {
    }

    public UserInfo(String name, Integer age, Integer id) {
        this.name = name;
        this.age = age;
        this.id = id;
    }
    @Override
    public String toString() {
        return "UserInfo{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", age=" + age +
                '}';
    }

}
